package jjn.acwing;

import java.util.Scanner;

/**
 * @author Jiang Jining
 * @since 2023-07-23 19:04
 */
public class Acwing614 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int first = scanner.nextInt();
        int second = scanner.nextInt();
        int third = scanner.nextInt();
        System.out.printf("%d eh o maior", getMax(getMax(first, second), third));
    }
    
    private static int getMax(int a, int b) {
        return (a + b + Math.abs(a - b)) / 2;
    }
}
